package com.ruoyi.jiekou.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口对象 jie_kou
 */
public class JieKou extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 聚法接口编号 */
    private String jfCode;

    /** 三方编号 */
    @Excel(name = "三方编号")
    private String sfCode;

    /** 接口名称 */
    @Excel(name = "接口名称")
    private String name;

    /** 接口描述 */
    @Excel(name = "接口描述")
    private String explain;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 类型 */
    @Excel(name = "类型")
    private Integer sourceTypeNum;

    /**  */
    @Excel(name = "原价")
    private BigDecimal originalPrice;

    /** 单次调用价格 */
    @Excel(name = "单次调用价格")
    private BigDecimal unitPrice;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public JieKou() {
    }

    public JieKou(String sfCode) {
        this.sfCode = sfCode;
    }

    public JieKou(String jfCode, String sfCode) {
        this.jfCode = jfCode;
        this.sfCode = sfCode;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSourceTypeNum() {
        return sourceTypeNum;
    }

    public void setSourceTypeNum(Integer sourceTypeNum) {
        this.sourceTypeNum = sourceTypeNum;
    }

    public void setJfCode(String jfCode)
    {
        this.jfCode = jfCode;
    }

    public String getJfCode()
    {
        return jfCode;
    }
    public void setSfCode(String sfCode)
    {
        this.sfCode = sfCode;
    }

    public String getSfCode()
    {
        return sfCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setExplain(String explain)
    {
        this.explain = explain;
    }

    public String getExplain()
    {
        return explain;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setOriginalPrice(BigDecimal originalPrice)
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice()
    {
        return originalPrice;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("jfCode", getJfCode())
                .append("sfCode", getSfCode())
                .append("name", getName())
                .append("explain", getExplain())
                .append("type", getType())
                .append("originalPrice", getOriginalPrice())
                .append("unitPrice", getUnitPrice())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
